﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Admin.Model.Tool
{
    /// <summary>
    /// 操作读取缓存实体
    /// </summary>
    public class CacheModel
    {
        /// <summary>
        /// 是否读取缓存内容
        /// </summary>
        public bool IsCache { get; set; }

        /// <summary>
        /// 缓存时间，0表示不缓存
        /// </summary>
        public int CacheTime { get; set; }

        ///<summary>
        /// 缓存key值
        /// </summary>
        public string CacheKey { get; set; }

        ///<summary>
        /// 是否读主库
        /// </summary>
        public bool IsMainDataBase { get; set; }
    }
}
